/*
 * @Author: tcosfish
 * @Date: 2022-07-21 09:20:33
 * @LastEditors: tcosfish
 * @LastEditTime: 2022-07-21 09:21:56
 * @FilePath: \loadFile\src\middlewares\cors.ts
 */

import Cors from "koa2-cors"

import cors_header from "../config/cors.config"

const cors = Cors(cors_header)

export default cors
